package net.zjitc.dao;

import net.zjitc.pojo.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

@Component
public interface UserDao {
    @Insert("insert into users(username,age) values (#{username} , #{age})")
    void save(User user);
}
